﻿using System.Collections.Generic;
using Pool.DataBase.DAL;
using Pool.DataBase.Models;

namespace Pool.Business.BLL
{
    public class LocationBLL : BaseBLL
    {
        public IList<LocationInfo> SearchByKeyword(string keyword)
        {
            return string.IsNullOrEmpty(keyword) ? new List<LocationInfo>() :
                (DataContext as LocationDAL).SearchByKeyword(keyword);
        }
    }
}
